# the minimum version of CMake.
cmake_minimum_required(VERSION 3.4.1)
project(myNpmLib)

set(NATIVERENDER_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR})



include_directories(${NATIVERENDER_ROOT_PATH}
                    ${NATIVERENDER_ROOT_PATH}/include
                    ${NATIVERENDER_ROOT_PATH}/fftw/api)


add_library(fftwlib SHARED fftw.cpp)

link_directories(${NATIVERENDER_ROOT_PATH}/fftw)


target_link_libraries(fftwlib PUBLIC libhilog_ndk.z.so libace_napi.z.so  -L${NATIVERENDER_ROOT_PATH}/fftw -L./fftw fftw3)